home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Assistant
/
Business Assistant.iso
/
acctg
/
act1
/
hinstall.bat
< prev
next >
Wrap
DOS Batch File
|
1989-04-20
|
2KB
|
59 lines
echo off
if "%1" == "" goto err1
if "%2" == "" goto err1
if "%2" == "c:" GOTO ERR5
if "%2" == "C:" GOTO ERR5
if "%2" == "d:" GOTO ERR5
if "%2" == "D:" GOTO ERR5
:ERR5
%2
MD\ACT
CD\ACT
%1
echo off
if errorlevel 1 goto err2
echo Performing Program Installation of System Disk #1
echo off
copy %1ACCOUNT.EXE %2
copy %1COLOR.SET %2
copy %1MONO.SET %2
echo off
if "%2" == "C:" goto err4
if "%2" == "c:" goto err4
if "%2" == "D:" goto err6
if "%2" == "d:" goto err6
if "%2" == "B:" goto err3
if "%2" == "b:" goto err3
if "%1" == "B:" goto err4
if "%1" == "b:" goto err4
echo Installation Completed Successfully
goto end
:err1
echo 'From:' or 'To:' Drive-ID Parameters missing or invalid.
goto end
:err2
echo Installation Ended due to Error(s).
goto end
:err3
B:
echo Installation of System Disk #1 Completed Sucessfully
echo Floppy User! Now Press F3 & Insert System Disk #2 in Drive [A]
echo and a Formatted Floppy in Drive [B] and Press Return.
A:
goto end
:err4
C:
echo Installation of System Disk #1 Completed Sucessfully
echo Hard-Drive User! Now Press F3 & Insert System Disk #2 in Drive [%1]
echo and Press Return.
%1
goto end
:err6
D:
echo Installation of System Disk #1 Completed Sucessfully
echo Hard-Drive User! Now Press F3 & Insert System Disk #2 in Drive [%1]
echo and Press Return.
%1
goto end
:end